<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ include file="/WEB-INF/views/include/constrant.jsp"%>
<html>
<head>
<meta name="decorator" content="front" />
<link href="${ctxStatic }/xiake/css/list.css" rel='stylesheet' type='text/css' />
<script type="text/javascript">
</script>
</head>
<body>
	<div class="container">
		<input type="hidden" id="menuInfo" value="indexDemands">
		<form id="bookingForm" action="${ctxFront}/rentproduct/demands/booking" method="post">
			<c:set var="genOrdername" value="${tDemands.departcity.sitename}-${tDemands.destcity.sitename}${tDemands.rentdays }日定制包车"/>
			<input type="hidden" name="ordername" value="${genOrdername }" />
			<input type="hidden" name="dueamount" value="${react.price}"/>
			<input type="hidden" name="demandid" value="${tDemands.demandid}"/>
			<input type="hidden" name="reactid" value="${react.reactid }" />
			<input type="hidden" name="ordertype" value="c" />
			<input type="hidden" name="bookingdays" value="${tDemands.rentdays }" />
			<input type="hidden" name="realscheid" value="${react.reactid }" />
			<input type="hidden" name="departdateStr" value="<fmt:formatDate value="${tDemands.fromdate}" pattern="yyyy-MM-dd HH:mm:ss"/>" />
			<div class="container_date font_large_size">
				<span>${genOrdername }</span>
				<p>
					<fmt:formatDate value="${tDemands.fromdate}" pattern="yyyy-MM-dd HH:mm"/>
				</p>
			</div>
			<div class="notice font_normal_size">
				<c:if test="${not empty tDemands.modeldesc }">
					<p>行程描述：</p>
					<p>${tDemands.modeldesc }</p><br/>
				</c:if>
				<p>线路须知：</p>
				<p>1、以上旅游包车行程包含出发城市和目的地。由出发城市上车点至目的地以及目的地返回出发城市上车点的行车线路，由客运服务商安排选取最优线路。如订车人需临时更改行车线路，须与客运服务商自行协商，产生的额外费用也由订车人自行承担。</p>
				<p>2.以上旅游包车服务均支持出发城市上车点至目的地往返接送，订车人不需另行支付费用。如需增加交通接送服务，须与客运服务商自行协商，产生的额外费用也由您自行承担。</p>
			</div>
			<div class="container_information font_normal_size">
				<div>
					<label>车型</label>
					<input type="text" value="${tDemands.cartype.typename }（${react.remarks }）" readonly/>
				</div>
				<div>
					<label>车辆数</label>
					<input id="purchasenum" type="text" name="purchasenum" value="${tDemands.vehiclenum }" readonly/>
				</div>
				<div>
					<label>上车地点</label>
					<input type="text" name="boardaddr" value="${orders.boardaddr }" />
					<span class="red">*</span>
				</div>
				<div>
					<label>上车时间</label>
					<input type="text" readonly="readonly" value="<fmt:formatDate value="${tDemands.fromdate }" pattern="yyyy-MM-dd E HH:mm"/>"/>
				</div>
				<div>
					<label>联系人姓名</label>
					<input type="text" name="contacts" value="${empty orders.contacts?tDemands.contactor:orders.contacts }" />
					<span class="red">*</span>
				</div>
				<div>
					<label>联系电话</label>
					<input type="text" name="payertel" value="${empty orders.payertel?tDemands.contactphone:orders.payertel }" />
					<span class="red">*</span>
				</div>
				<div style="height: 80px;margin: 18px 0">
					<label style="vertical-align: top;">行程备注</label>
					<textarea rows="5" readonly name="remarks">${tDemands.remarks }</textarea>
				</div>
			</div>
			<div class="container_submit">
				<div class="container_submit_c font_normal_size">
					一口价：<span class="font_large_size main_color" id="suitrtnprice">￥${react.price}</span>
					<div onclick="$('#bookingForm').submit();" class="container_submit_b font_normal_size pointer">提交预定</div>
				</div>
			</div>
		</form>
	</div>
	<div class="notice font_normal_size">
		<c:set var="noticeType" value="${ORDER_TYPE_RENTPRODUCT_CUSTOM }"/>
		<%@ include file="/WEB-INF/views/include/modules/rentproductNotice.jsp"%>
	</div>
</body>
</html>